package com.arpa.ntocc.common.domain.dto;

import com.arpa.ntocc.common.domain.entity.BasicEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 部门信息DTO
 * </p>
 *
 * @author LEO
 * @since 2019-12-09
 */
@Data
@ApiModel(value="DepartmentDTO对象", description="部门信息")
public class DepartmentDTO extends BasicEntity {


    @ApiModelProperty(value = "编码")
    private String code;

    @ApiModelProperty(value = "所属组织机构")
    private String partyGroupCode;

    @ApiModelProperty(value = "所属组织机构")
    private String partyGroupName;

    @ApiModelProperty(value = "部门编号")
    private String serialNumber;

    @ApiModelProperty(value = "部门名称")
    private String name;

    @ApiModelProperty(value="父类编码")
    private String parentCode;

    @ApiModelProperty(value="父类名称")
    private String parentName;

    @ApiModelProperty(value = "第几页")
    private Integer pageNum=1;

    @ApiModelProperty(value = "每页条数")
    private Integer pageSize=10;

    @ApiModelProperty(value = "排序字段")
    private String sortField;

    @ApiModelProperty(value = "排序方式")
    private String sortType;
}
